package com.manager.assignment.zq.service.Impl;


import com.manager.assignment.zq.mapper.CusIdDao;
import com.manager.assignment.zq.service.GetCusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GetCusImpl implements GetCusService {

    @Autowired
    private CusIdDao cusIdDao;

    @Override
    public Integer[] getCusBySellerId(Integer sellerId) {
        return cusIdDao.getCusIdBySeller(sellerId);
    }

    @Override
    public Integer[] getNewCus() {
        return cusIdDao.getNewCus();
    }
}
